home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 13204 < prev    next >
Encoding:
Text File  |  1996-08-05  |  657 b   |  22 lines

  1. Path: keats.ugrad.cs.ubc.ca!not-for-mail
  2. From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: reading from stdin?
  5. Date: 4 Apr 1996 17:21:25 -0800
  6. Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
  7. Message-ID: <4k1silINNciu@keats.ugrad.cs.ubc.ca>
  8. References: <31636DB1.5BB4@ljusdal.se>
  9. NNTP-Posting-Host: keats.ugrad.cs.ubc.ca
  10.  
  11. In article <31636DB1.5BB4@ljusdal.se>,
  12. Marcsu  <marcus.berggren@ljusdal.se> wrote:
  13. >How do you read from ,(scanf),stdin without echoing it to the screen??
  14. >
  15. >please help, (I┤m in desperate need of it!)
  16.  
  17. $ stty -echo -echok -echonl
  18. $ my_program
  19. $ stty echo echok echonl
  20. -- 
  21.  
  22.